<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>查看所有用户</title>
</head>
<body>
<table>
    <tr>
        <th>用户号</th>
        <th>用户类型</th>
        <th>删除</th>
    </tr>
    <tr th:each="user:${users}" >
        <td th:text="${user.userId}">Onions</td>
        <td th:text="${user.typeStr}">Onions</td>
        <td>
            <a th:href="@{/adm/deleteUserById(userId=${user.userId})}">删除</a>

            <a th:href="@{/adm/resetUserPassword(userId=${user.userId})}">重设密码</a>
        </td>
    </tr>
</table>

</body>
</html>